/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Info;

import java.sql.Timestamp;

/**
 *
 * @author tran tuan tai
 */
public class PeriodInfo
{
    private int m_id;
    private Timestamp m_begin;
    private Timestamp m_end;

    public PeriodInfo(int id, Timestamp begin, Timestamp end)
    {
        m_id = id;
        m_begin = begin;
        m_end = end;
    }

    public void SetID(int id)
    {  m_id = id;  }

    public int GetID()
    {   return m_id;  }

    public Timestamp GetBegin()
    {    return m_begin;   }

    public Timestamp GetEnd()
    {    return m_end;   }

    public void SetBegin(Timestamp begin)
    {    m_begin = begin;  }

    public void SetEnd(Timestamp end)
    {   m_end = end;   }

    public PeriodInfo()
    {
    }
}
